package com.myspace.server.blog.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDate;

/**
 * 文章天统计信息
 * @author peng.zhang
 */
@Data
@Builder
@ApiModel(value = "ArticleArchiveDay", description = "文章天统计实体！")
public class ArticleArchiveDay {

    @ApiModelProperty(value = "统计日期(yyyy-MM-dd)")
    @JsonProperty("archiveDate")
    private LocalDate archiveDate;

    @ApiModelProperty(value = "文章数量")
    @JsonProperty("articleNum")
    private Integer articleNum;

}
